Laser GalvoErrorCheckEnable

Enable galvo error checking. Each argument is a 32-bit word configuring the checking of up to 8 axes using 4 bits per axis. The 4-bit fields are mapped sequentially right-to-left to GSBus axes 0-7, respectively. Axis pairs typically make up a single scan-head.

Syntax

Laser.GalvoErrorCheckEnable(int StatusBitsToTest, int BitValuesWhenOK)

 

Parameters

int StatusBitsToTest Bit fields are: [RESVD, INPOS, READY, OK]. Example: Enabling Head 1 Y-X monitoring of READY and OK (0x00000033)
int BitValuesWhenOK Bit fields are: [RESVD, INPOS, READY, OK]. Example: Expected bit values for the Y-X axes of Head 1 (0x00000033)

 

Copy
Example
--Enable Lightning II galvo error checking in case of a fault -- single head system
Laser.GalvoErrorCheckEnable(0x0022, 0x0022)

--Alternatively, a dual head system instead
--Laser.GalvoErrorCheckEnable(0x2222, 0x2222)

--Open Loop mode using JumpAndFire requires a jump time calibration to be performed at least once before the drilling operation
--Only needed periodically to maintain accuracy
System.CalibrateJumpTime()

--Open Loop mode drilling we verify after firing the laser.  This settle checks a single Lightning II scan head system
System.EnableSettleChecking(SettleCheckMode.AfterFiring, SettleCheckPort.UseGSBusChannelStatus, 0x0066, 0x0066, 10000, 80)

--Alternatively this settle checks a dual Lightning II scan head system instead
--System.EnableSettleChecking(SettleCheckMode.AfterFiring, SettleCheckPort.UseGSBusChannelStatus, 0x6666, 0x6666, 10000, 80)

ScanAll()